'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
   const {
      router,
      controller
   } = app;

   // 首页
   router.get('/', controller.home.index);

   // 获取验证码
   router.get('/getCaptcha', controller.login.getCaptcha);
   // 登录
   router.get('/login', controller.login.login);


};
